package pl.r1103.autostrada;

import java.math.BigDecimal;
import java.rmi.Remote;
import java.rmi.RemoteException;

import pl.r1103.autostrada.exceptions.NoSuchTicketException;

public interface CoreService extends Remote {

	public Long registerTicket(Ticket arg) throws RemoteException;
	
	public BigDecimal getPriceForTicket(Long ticketID) throws RemoteException,NoSuchTicketException;
}
